﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AsyncCamera.Camera;
using Incendios0_1.Camera.wpfdatamanager;
using AsyncCamera.Camera.Pelco;
using AsyncCamera.Camera.media;
using Incendios0_1.Camera.media.filters;

namespace Incendios0_1.Camera.media.pipelines
{
    class SimpleDisplay: MediaGroup
    {
        public SimpleDisplay(AbstractCamera camera): base()
        {
            IPCameraSource source;
            source = new IPCameraSource(camera);
            PrintDataFilter filter = new PrintDataFilter(source);
            filter.camera = camera;
            filter.CurrentDate = true;
            sources.AddLast(source);
            filters.AddLast(filter);
            setDefaultOutput(filter);
        }
    }
}
